import java.io.*;
import java.time.LocalDate;
import java.util.ArrayList;
import java.util.List;

public class Product implements Serializable {
    private String name;
    private int quantity;
    private double price;
    private LocalDate purchaseDate;
    private LocalDate saleDate;

    public Product(String name, int quantity, double price, LocalDate purchaseDate, LocalDate saleDate) {
        this.name = name;
        this.quantity = quantity;
        this.price = price;
        this.purchaseDate = purchaseDate;
        this.saleDate = saleDate;
    }

    public void getQuantity() {
    }

    public void getPrice() {
    }

    public int getSaleDate() {
        return 0;
    }

    // getter and setter methods
}

